package com.example.demo.service.impl;

import com.example.demo.entity.EduCourse;
import com.example.demo.dao.EduCourseMapper;
import com.example.demo.service.EduCourseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EduCourseServiceImpl implements EduCourseService {

    @Autowired
    EduCourseMapper eduCourseMapper;

    @Override
    public EduCourse getEduCourse(Integer id) {
        return eduCourseMapper.getEduCourse(id);
    }
}
